# Copyright (c) 2018 Presto Labs Pte. Ltd.
# Author: jaewon

from coin.exchange.okex.kr_rest.constants import symbol_list

group_symbol = {
    'a': ['qtum_eth', 'trx_btc'],
    'b': ['dash_eth', 'link_btc'],
    'c': ['link_usdt', 'xem_eth'],
    'd': ['etc_usdt', 'link_eth', 'neo_btc', 'zec_usdt'],
    'e': ['iota_btc'],
    'f': ['btc_usdt', 'ltc_eth', 'omg_btc', 'qtum_usdt', 'trx_usdt'],
    'g': ['neo_usdt', 'omg_eth', 'trx_eth', 'xlm_usdt', 'dcr_btc'],
    'h': ['eos_usdt', 'dcr_usdt'],
    'i': [
        'btg_usdt',
        'dash_usdt',
        'eos_btc',
        'eos_eth',
        'iota_eth',
        'xem_btc',
        'bsv_btc',
        'bsv_usdt',
        'btc_usdk',
        'ltc_usdk',
        'eth_usdk',
        'okb_usdk',
        'etc_usdk',
        'bch_usdk',
        'eos_usdk',
        'xrp_usdk',
        'trx_usdk',
        'bsv_usdk'
    ],
    'j': ['btg_btc', 'xlm_btc', 'xrp_btc', 'xrp_eth'],
    'k': ['etc_eth', 'eth_usdt', 'neo_eth', 'qtum_btc'],
    'l': ['bch_btc', 'dash_okb', 'eos_okb', 'etc_okb'],
    'm': ['ltc_usdt', 'omg_usdt', 'zec_btc', 'iota_okb'],
    'n': [
        'iota_usdt',
        'ltc_btc',
        'xem_usdt',
        'xlm_eth',
        'xrp_usdt',
        'zec_eth',
        'ltc_okb',
        'mkr_btc',
        'mkr_eth',
        'mkr_usdt',
        'neo_okb',
        'okb_btc',
        'okb_eth',
        'okb_usdt',
        'ont_btc',
        'ont_eth',
        'ont_usdt'
    ],
    'o': ['dash_btc', 'etc_btc'],
    'p': ['bch_usdt', 'eth_btc', 'true_btc', 'true_eth', 'true_usdt', 'xrp_okb', 'zec_okb']
}

# btg_this_week, btg_next_week, btg_quarter are removed.
futures_group_symbol = {
    'a': [
        'btc_this_week',
        'ltc_this_week',
        'eth_this_week',
        'etc_this_week',
        'bch_this_week',
        'xrp_this_week',
        'eos_this_week',
        'bsv_this_week',
        'trx_this_week'
    ],
    'b': [
        'btc_next_week',
        'ltc_next_week',
        'eth_next_week',
        'etc_next_week',
        'bch_next_week',
        'xrp_next_week',
        'eos_next_week',
        'bsv_next_week',
        'trx_next_week'
    ],
    'c': [
        'btc_quarter',
        'ltc_quarter',
        'eth_quarter',
        'etc_quarter',
        'bch_quarter',
        'xrp_quarter',
        'eos_quarter',
        'bsv_quarter',
        'trx_quarter'
    ],
    'd': [
        'BTC-USDT.THIS_WEEK',
        'LTC-USDT.THIS_WEEK',
        'ETH-USDT.THIS_WEEK',
        'ETC-USDT.THIS_WEEK',
        'BCHABC-USDT.THIS_WEEK',
        'XRP-USDT.THIS_WEEK',
        'EOS-USDT.THIS_WEEK',
        'BCHSV-USDT.THIS_WEEK',
        'TRX-USDT.THIS_WEEK'
    ],
    'e': [
        'BTC-USDT.NEXT_WEEK',
        'LTC-USDT.NEXT_WEEK',
        'ETH-USDT.NEXT_WEEK',
        'ETC-USDT.NEXT_WEEK',
        'BCHABC-USDT.NEXT_WEEK',
        'XRP-USDT.NEXT_WEEK',
        'EOS-USDT.NEXT_WEEK',
        'BCHSV-USDT.NEXT_WEEK',
        'TRX-USDT.NEXT_WEEK'
    ],
    'f': [
        'BTC-USDT.QUARTER',
        'LTC-USDT.QUARTER',
        'ETH-USDT.QUARTER',
        'ETC-USDT.QUARTER',
        'BCHABC-USDT.QUARTER',
        'XRP-USDT.QUARTER',
        'EOS-USDT.QUARTER',
        'BCHSV-USDT.QUARTER',
        'TRX-USDT.QUARTER'
    ],
    'g': [
        'btc_next_quarter',
        'ltc_next_quarter',
        'eth_next_quarter',
        'etc_next_quarter',
        'bch_next_quarter',
        'xrp_next_quarter',
        'eos_next_quarter',
        'bsv_next_quarter',
        'trx_next_quarter'
    ],
    'h': [
        'BTC-USDT.NEXT_QUARTER',
        'LTC-USDT.NEXT_QUARTER',
        'ETH-USDT.NEXT_QUARTER',
        'ETC-USDT.NEXT_QUARTER',
        'BCHABC-USDT.NEXT_QUARTER',
        'XRP-USDT.NEXT_QUARTER',
        'EOS-USDT.NEXT_QUARTER',
        'BCHSV-USDT.NEXT_QUARTER',
        'TRX-USDT.NEXT_QUARTER'
    ],
}

swap_group_symbol = {
    'a': [
        'BTC-USD-SWAP',
        'ETH-USD-SWAP',
        'EOS-USD-SWAP',
        'LTC-USD-SWAP',
        'ETC-USD-SWAP',
        'XRP-USD-SWAP',
        'BCH-USD-SWAP',
        'BSV-USD-SWAP',
        'TRX-USD-SWAP'
    ],
}

